package com.bat.spring.factorybean;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: liusen
 * @date: 2022-04-14
 * @desc:
 **/
@Service
public class OrangeService {
	@Autowired
	Orange orange;

	@Autowired
	MyFactoryBean myFactoryBean;


	public void test() {
		System.out.println(orange);
	}

	public void test1() {
		System.out.println(myFactoryBean);
	}

}
